package com.advertisementsystem.Enum;

import lombok.AllArgsConstructor;

@AllArgsConstructor
public enum AlertTypeEnum {
    PERFORMANCE(1, "性能告警"),
    SECURITY(2, "安全告警"),
    ERROR(3, "错误告警");

    private final Integer code;

    public Integer getCode() {
        return code;
    }

    public String getDescription() {
        return description;
    }

    private final String description;

    // ... 构造方法和getter方法 ...
}
